﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Master/Administrator.Master"
    AutoEventWireup="true" CodeBehind="MemberGift.aspx.cs" Inherits="Axis.Web.Administrator.Views.Accounts.MemberGift" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdministratorTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdministratorHead" runat="server">
    <script src="../../../ckeditor/ckeditor.js"></script>
    <script src="../../../ckfinder/ckfinder.js"></script>
    <script src="Js/admin.membergift.js" type="text/javascript"></script>
    <link href="Css/admin.membergift.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="AdministratorBody" runat="server">
    <div id="AdminToolBar">
        <div class="cssFloatRight">
            <div class="cssFloatLeft" style="margin-right: 20px;">
                <img id="imgUserAdd" title="Add" src="../../Images/24x24/add.png" />
                <img id="imgUserEdit" title="Edit" src="../../Images/24x24/edit.png" />
                <img id="imgUserDel" title="Delete" src="../../Images/24x24/delete.png" />
                <img id="imgUserFilter" title="Filter" src="../../Images/24x24/filter.png" />
                <img id="imgUserExport" title="Export" src="../../Images/24x24/export-excel.png" />
            </div>
        </div>
    </div>
    <div id="MemberInfo">
        <form class="form">
        <fieldset class="border">
            <legend>Thông tin thành viên!</legend>
            <label>
                Login Name:</label>
            <input type="text" name="Name" id="txtLoginName" autofocus readonly="readonly"></input><br />
            <label>
                FullName:</label>
            <input type="text" name="FullName" id="txtFullName" readonly="readonly"></input><br />
            <label>
                ID Card:</label>
            <input type="text" name="FullName" id="txtIDCard" readonly="readonly"></input><br />
            <label>
                Điểm:</label>
            <input type="text" name="City" id="txtMark" readonly="readonly" />
        </fieldset>
        </form>
    </div>
    <div class="cssClearBoth">
    </div>
    <table id="GridContents">
    </table>
    <div id="GridPages">
    </div>
    <div id="FormEdit" class="cssForm" style="display: none;">
        <div style="display: none;">
            <label>
                ID</label>
            <input type="text" id="MemberGiftID" data-field="MemberGiftID" class="ui-widget-content ui-corner-all" />
            <input type="text" id="Text1" data-field="ID" class="ui-widget-content ui-corner-all" />
            <label>
                RowNumber</label>
            <input type="text" id="txtRowNumber" data-field="RowNumber" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Mô tả</label>
            <textarea id="txtReceiptNote" data-field="ReceiptNote" rows="3" style="height: 60px"></textarea>
        </div>
        <%--  <div class="new-row">
            <label>
                Quà tặng</label>
                <select data-field="Description" id="ddlGift"></select>
        </div>--%>
        <div class="new-row">
            <label>
                Số lượng</label>
            <input type="text" id="txtReceiptQuantity" data-field="ReceiptQuantity" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row" style="display: none">
            <label>
                Quà tặng</label>
            <select id="cboCategory" data-field="CategoryID">
                <asp:Literal ID="lblOptionCate" runat="server"></asp:Literal>
            </select>
        </div>
        <div class="new-row">
            <label>
                Ngày nhận quà</label>
            <input type="text" id="txtReceiptDateTime" data-field="ReceiptDateTime" role="datepicker"
                class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row" style="display: none;">
            <label>
                Đã nhận quà</label>
            <input type="checkbox" id="cbkIsReceipt" data-field="IsReceipt" class="ui-widget-content ui-corner-all" />
        </div>
    </div>
    <div id="AddGift" class="cssForm" style="display: none;">
        <div class="new-row">
            <label>
                Nhóm dự án</label>
            <asp:DropDownList runat="server" ID="ddlProjectList" data-field="ProjectID" CssClass="ui-widget-content ui-corner-all"
                ClientIDMode="Static">
            </asp:DropDownList>
        </div>
        <div class="new-row">
            <label>
                Quà tặng rút thăm</label>
            <select id="ddlGiftLottory" data-field="LotteGiftID">
            </select>
        </div>
        <div class="new-row">
            <label>
                Quà tặng cố định</label>
            <select id="ddlGift" data-field="GiftID">
            </select>
        </div>
        <div class="new-row">
            <label>
                Ngày bốc thăm</label>
            <input type="text" id="ConvertFromMarkDateTime" data-field="ConvertFromMarkDateTime" role="datepicker" class="ui-widget-content ui-corner-all" />
        </div>  
        <div class="new-row">
            <label>
                Mô tả</label>
            <textarea id="Textarea1" data-field="ReceiptNote" rows="3" style="height: 60px"></textarea>
        </div>
    </div>
</asp:Content>
